diff options
Diffstat (limited to 'src/routes/(app)/pot/[name]/withdraw')
| -rw-r--r-- | src/routes/(app)/pot/[name]/withdraw/+page.server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/pot/[name]/withdraw/+page.server.js b/src/routes/(app)/pot/[name]/withdraw/+page.server.js index 6534e07b..7a486d58 100644 --- a/src/routes/(app)/pot/[name]/withdraw/+page.server.js +++ b/src/routes/(app)/pot/[name]/withdraw/+page.server.js @@ -11,7 +11,7 @@ export const actions = { let body = Object.fromEntries(await request.formData()); try { - await post('/withdraw', body, auth(cookies)); + await post('/take', body, auth(cookies)); } catch (e) { return invalid(400, { message: e.message }); } |
